package com.leanyuan.publi.service.impl;

import com.leanyuan.publi.domain.Order2;
import com.leanyuan.publi.dao.Order2Mapper;
import com.leanyuan.publi.service.Order2Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 相亲相爱一家人
 * @since 2021-05-25
 */
@Service
public class Order2ServiceImpl extends ServiceImpl<Order2Mapper, Order2> implements Order2Service {
    @Autowired
    Order2Mapper order2Mapper;

    @Override
    public List<Order2> findByOrderid(Integer id) {
        return order2Mapper.findByOrderid(id);
    }
}
